package me.jessyan.armscomponent.app.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import me.jessyan.armscomponent.app.di.module.WelComeModule;
import me.jessyan.armscomponent.app.mvp.contract.WelComeContract;

import com.jess.arms.di.scope.ActivityScope;

import me.jessyan.armscomponent.app.mvp.ui.activity.WelcomeActivity;


/**
 * <p>
 * Author: Taozebi
 * Date: 09/26/2021 14:55
 * Description: describe of this class
 */
@ActivityScope
@Component(modules = WelComeModule.class, dependencies = AppComponent.class)
public interface WelComeComponent {
    void inject(WelcomeActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        WelComeComponent.Builder view(WelComeContract.View view);

        WelComeComponent.Builder appComponent(AppComponent appComponent);

        WelComeComponent build();
    }
}